FROM ubuntu:20.04
# MAINTAINER hanchuanchuan <chuanchuanhan@gmail.com>

ENV TZ=Asia/Shanghai
ENV LANG="en_US.UTF-8"


COPY . /aliyun-exporter
# RUN chmod +x /aliyun-exporter/aliyun-exporter

WORKDIR /aliyun-exporter
# RUN go build -o aliyun-exporter

EXPOSE 9527

ENTRYPOINT ["/aliyun-exporter/aliyun-exporter", "serve"]